import os


def mkdir(path):
    folder = os.path.exists(path)

    if not folder:
        os.makedirs(path)
        print("创建文件夹成功")

    else:
        print("文件夹已存在")


def mkdirpwd(name):
    path = os.getcwd() +"\\"+ name
    folder = os.path.exists(path)

    if not folder:
        os.makedirs(path)
        print("创建文件夹成功")

    else:
        print("文件夹已存在")
